package com.zmn.plat.model.entity.orderconfig.documentarycontent;

import com.zmn.common.utils.pager.Pages;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 类描述:跟单内容query
 *
 * @author linfeng
 * @since 2019/10/21/16:41
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DocumentaryContentQuery extends Pages {
    private static final long serialVersionUID = -5688157581688053325L;
    // 跟单内容id
    private Integer id;

    // 排序字段，编号越小越靠前
    private Integer sort;

    // 展示平台
    private Integer bizType;

    // 跟单内容
    private String content;

    // 责任部门id
    private Integer responsibleDepartmentId;

    // 工程师跟单开关  1工程师不跟单，2工程师跟单
    private Integer engineerDocumentarySwitch;

    // 工程师跟单优先级：1一级，2二级，3三级
    private Integer engineerDocumentaryPriority;

    // 服务商跟单开关 1服务商不跟单 2服务商跟单
    private Integer serviceProviderDocumentarySwitch;

    // 服务商跟单优先级：1一级 2二级 3三级
    private Integer serviceProviderDocumentaryPriority;

    // 状态 1停用  2启用
    private Integer status;

    // 跟单部门id
    private Integer documentaryDepartmentId;

    // 跟单部门id集合
    private List<Integer> documentaryDepartmentIds;

    /**
     *每页显示条数，默认100
     */
    private Integer pageSize = 100;
}
